package com.forever7776.life.remote.common.vo;

import java.util.List;
import java.util.Map;

/**
 * 发送邮箱参数VO
 *
 * @author kz
 * @date 2018/03/09
 */
public class SendEmailVO extends ResultVO {

    /**
     * 发件人邮箱
     */
    private String from;

    /**
     * 邮件主题
     */
    private String subject;

    /**
     * 收件人邮箱列表
     */
    private List<String> emailList;

    /**
     * 内容
     */
    private String content;


    /**
     * 占位符,待替换字段
     */
    private Map<String, String> placeholders;


    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public List<String> getEmailList() {
        return emailList;
    }

    public void setEmailList(List<String> emailList) {
        this.emailList = emailList;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Map<String, String> getPlaceholders() {
        return placeholders;
    }

    public void setPlaceholders(Map<String, String> placeholders) {
        this.placeholders = placeholders;
    }

    @Override
    public String toString() {
        return "SendEmailVo{" +
                "from='" + from +
                ", subject='" + subject +
                ", emailList=" + emailList +
                ", content='" + content +
                ", placeholders=" + placeholders +
                '}';
    }
}
